package club.framework.web.application.sys.role.entity;

import club.framework.web.base.entity.BaseEntity;

import java.util.List;

/**
 * Created by 念梓  on 2017/6/8.
 * Email:sunmch@163.com
 * author: 念梓
 * des:
 */
public class Role extends BaseEntity {

    private String code;

    private String des;

    private List<String> res; // resouces  --> code

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public List<String> getRes() {
        return res;
    }

    public void setRes(List<String> res) {
        this.res = res;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Role{");
        sb.append("code='").append(code).append('\'');
        sb.append(", describe='").append(des).append('\'');
        sb.append(", res=").append(res);
        sb.append('}');
        return sb.toString();
    }
}
